home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15780 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  690 b 

  1. Path: newsbf02.news.aol.com!not-for-mail
  2. From: mrdavc@aol.com (Mrdavc)
  3. Newsgroups: comp.lang.c++
  4. Subject: what does this code do?
  5. Date: 6 Apr 1996 18:17:51 -0500
  6. Organization: America Online, Inc. (1-800-827-6364)
  7. Sender: root@newsbf02.news.aol.com
  8. Message-ID: <4k6u2v$i2c@newsbf02.news.aol.com>
  9. Reply-To: mrdavc@aol.com (Mrdavc)
  10. NNTP-Posting-Host: newsbf02.mail.aol.com
  11.  
  12. linePtrs[currentLine][lineLen[currentLine]] = (char) key;
  13.  
  14. What does this code do?  It looks like linePtrs is a multidimensional
  15. array but its not defined that way.  is both linePtrs[currentLine] and
  16. lineLen[currentLine] set to (char) key??
  17.  
  18. example from Teach yourself Turbo C++ 4.5 for Windows by Craig Arnush
  19. p,355
  20.